package com.xoms.admin.controller.springmvc.req;


import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

/**
 * 寄存-获取详情
 **/
public class GetDepositDetailParam {
	@NotEmpty(message = "寄存id不能为空")
	private String did; // 寄存id
	@Pattern(regexp = "^0|1$", message = "是否分页：1分页0不分页")
	private String paging; // 是否分页：1分页0不分页
	private Integer page; // 页码，默认从0开始
	private Integer pageSize; // 每页数量，默认20
	private String key; // 搜索关键字

	public void setDid(String did) {
 		this.did = did;
	}

	public String getDid() {
 		return did;
	}

	public void setPaging(String paging) {
 		this.paging = paging;
	}

	public String getPaging() {
 		return paging;
	}

	public void setPage(Integer page) {
 		this.page = page;
	}

	public Integer getPage() {
 		return page;
	}

	public void setPageSize(Integer pageSize) {
 		this.pageSize = pageSize;
	}

	public Integer getPageSize() {
 		return pageSize;
	}

	public void setKey(String key) {
 		this.key = key;
	}

	public String getKey() {
 		return key;
	}

}
